﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MediaGarden.Services;
using Orchard;
using Orchard.Core.Routable.Models;
using Orchard.ContentManagement;
using MediaGarden.Models;
using MediaGarden.Pipeline;

namespace MediaGarden.Videos.Filters
{
    public class VideoSourceFilter : IMediaSourceFilter
    {
        public IOrchardServices _services { get; set; }

        public VideoSourceFilter(IOrchardServices services)
        {
            _services = services;
        }

        public IEnumerable<string> SupportedFormats()
        {
            return new[]{
                "OggTheora",
                "WebM",
                "DivX",
                "Flv",
                "Mpeg4Video",
                "Mpeg",
                "QuickTime",
                "Wmv"
            };
        }

        public void BuildSourceMetadata(MediaQueryContext query, MediaLocationContext location, MediaSourceContext source)
        {
        }
 
        public void SourceFiltering(MediaContentContext filterContext, IMediaSource data)
        {

        }
        public void SourceFiltered(MediaContentContext filterContext, IMediaSource data)
        {

        }

   }
}